import { getRequest,postBodyRequest,postRequest,getRequestEncode } from "../../libs/axios";

export const queryPermissionsByPage = (params) => {
	return getRequest('/rancheng-auth/permission/queryPermissionsByPage',params)
}

export const saveOrUpdatePermission = (params) => {
	return postBodyRequest('/rancheng-auth/permission/saveOrUpdatePermission',params)
}

export const deletePermissions = (params) => {
	return postBodyRequest('/rancheng-auth/permission/deletePermissions',params)
}